package com.deyuanyun.pic.pipe.service.impl;

import com.deyuanyun.pic.common.dto.BasicDataByFind;
import com.deyuanyun.pic.common.tool.JXL;
import com.deyuanyun.pic.pipe.controller.dto.MarkerQuery;
import com.deyuanyun.pic.pipe.domain.Marker;
import com.deyuanyun.pic.pipe.domain.Warning;
import com.deyuanyun.pic.pipe.domain.bo.MarkerMergeBO;
import com.deyuanyun.pic.pipe.mapper.dao.MarkerDao;
import com.deyuanyun.pic.pipe.mapper.dao.WarningDao;
import com.deyuanyun.pic.pipe.service.MarkerService;
import com.deyuanyun.pic.settings.support.biz.CodeUtil;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

/**
 * 
 * @ClassName ClosureServiceImpl
 * @Description 管道基础数据 ->埋地标识service实现
 * @author 荣华兴
 * @date 2015年8月31日
 */
@Service
public class MarkerServiceImpl implements MarkerService {

	@Resource
	MarkerDao markerDao;

	@Override
	public Page<MarkerMergeBO> queryMarkerMerge(MarkerQuery markerQuery) {
		return markerDao.queryMarkerMerge(markerQuery);
	}

	@Override
	public Page<Marker> queryMarker(MarkerQuery markerQuery) {
		return markerDao.queryMarker(markerQuery);
	}

	@Override
	public Page<Warning> queryWarning(MarkerQuery markerQuery) {
		return markerDao.queryWarning(markerQuery);
	}

	@Override
	public Marker findMarker(String id) {
		return markerDao.findMarker(id);
	}

	@Override
	public Warning findWarning(String id) {
		return markerDao.findWarning(id);
	}
}
